let init = function(){
	return new Promise( async(resolve,reject)=>{
		var res = new wx.cloud.Cloud({
			resourceAppid:'wx87184eb3f5e30559',
			resourceEnv:'lingshi-user-1gbahjt9054cff7a'
		})
		await res.init()
		await res.callFunction({
			name:"cloudbase_auth",
			data:{},
		})
		resolve(res)
	})
	
}
export {init}